package com.nuc.kl.module.usermanager.entity;

import java.util.HashSet;
import java.util.Set;

import com.nuc.kl.module.basedata.entity.Navigation;

/**
 * 用户
 * 
 * @author tyg
 * 
 */
@SuppressWarnings("serial")
public class User extends People{

	private int gender; // 性别
	private String phoneNumber; // 电话号码
	private String email; // 电子邮件
	protected  Set<Navigation> navigations = new HashSet<Navigation>();
	
	public User(){
		
	}
	public User(Long id){
		this.id =super.id;
	}
	public User(String name,String loginName,String password, int gender, String phoneNumber, String email) {
		super(name, loginName, password);
		this.gender = gender;
		this.phoneNumber = phoneNumber;
		this.email = email;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Set<Navigation> getNavigations() {
		return navigations;
	}

	public void setNavigations(Set<Navigation> navigations) {
		this.navigations = navigations;
	}
	
}